 
<style>
	.market{
		margin-left: 20px;
		margin-top: 30px;
		margin-bottom: 50px;
		width: 520px;
	}



	
</style>

<input type="hidden" name="roleId" id="roleId" value="<{$roleId}>" />

<div class="market">
	<{if $role.state}>
	<table class="table table-bordered">
                <colgroup>
                    <col style="width: 20%;"></col>
                    <col style="width: 80%;"></col>
                </colgroup> 
                <tr class="type-info" for="1">
                    <th class="th-label" style="background-color: #FFFFFF;border: none;">市场功能：</th>
                    <td style="border: none; text-align: left;">
                    	<div style="padding-top: 5px;">
                    		<label><input type="radio" name="op_type" value="0" <{if $data.market_status == 0 }>checked<{/if}> />开启&nbsp;&nbsp;</label>
                            <label><input type="radio" name="op_type" value="1" <{if $data.market_status == 1 }>checked<{/if}> />关闭</label>
                    	</div>
                        <input type="hidden" name="market_uid" id="market_uid" value="<{$data['uid']}>" />
                    </td>
                </tr>
            </table>
    <{else}>
    <div class="alert alert-warning" style="margin:0;" role="alert"><{$role.msg}></div>
    <{/if}>
</div>